package com.cqhilink.iot.jobstandardmanagement.facade.service.device;

import com.alibaba.fastjson.JSONObject;
import com.cqhilink.iot.jobstandardmanagement.facade.model.DeviceValidate;
import com.cqhilink.iot.jobstandardmanagement.facade.model.EmployeeVo;

import java.util.List;
import java.util.Map;

/**
 * Created by huangxueqian on 2017/8/3/003.
 */
public interface JsmDeviceValidateService {

    /**
     * @param deviceValidate
     * 设备校验填写记录保存
     */
    Map<String,Object> saveDeviceValidate(DeviceValidate deviceValidate, EmployeeVo employeeVo) throws Exception ;

    /**
     * @param deviceId 根据设备id , 查询设备的校验记录
     */
    List<DeviceValidate>  queryDeviceValidate(String deviceId) throws Exception ;

    /**
     * @param deviceValidate 根据设备id , 查询设备的校验记录
     */
    JSONObject queryDeviceValidateTable(DeviceValidate deviceValidate) throws Exception ;


}
